﻿using System;
using System.Collections.Generic;
using System.Web;

namespace CRM.Model
{
    public class DataTogther
    {
        private string _TableName;
        //表名
        public string TableName
        {
            get { return _TableName; }
            set { _TableName = value; }
        }
        private string _FieldList;
        //提取字段
        public string FieldList
        {
            get { return _FieldList; }
            set { _FieldList = value; }
        }
        private string _PrimaryKey;
        //主键
        public string PrimaryKey
        {
            get { return _PrimaryKey; }
            set { _PrimaryKey = value; }
        }
        private string _Where;
        //条件
        public string Where
        {
            get { return _Where; }
            set { _Where = value; }
        }
        private string _Order;
        //排序
        public string Order
        {
            get { return _Order; }
            set { _Order = value; }
        }
        private int _SortType;
        //排序规则
        public int SortType
        {
            get { return _SortType; }
            set { _SortType = value; }
        }
        private int _RecorderCount;
        //是否显示记录总数
        public int RecorderCount
        {
            get { return _RecorderCount; }
            set { _RecorderCount = value; }
        }
        private int _PageSize;
        //当前页码
        public int PageSize
        {
            get { return _PageSize; }
            set { _PageSize = value; }
        }
        private int _PageIndex;
        //当前页码
        public int PageIndex
        {
            get { return _PageIndex; }
            set { _PageIndex = value; }
        }
    }
}
